package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/1 0001.
 */

public class BoxLoginRequestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "smallAccountLogin";

    private String trumpet_user_id;



    public BoxLoginRequestParams() {
    }

    public BoxLoginRequestParams(String user_id) {
        this.trumpet_user_id = user_id;

    }


    @Override
    public String getServiceString() {
        return SERVICE;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.trumpet_user_id);

    }

    protected BoxLoginRequestParams(Parcel in) {
        super(in);
        this.trumpet_user_id = in.readString();

    }

    public static final Creator<BoxLoginRequestParams> CREATOR = new Creator<BoxLoginRequestParams>() {
        @Override
        public BoxLoginRequestParams createFromParcel(Parcel source) {
            return new BoxLoginRequestParams(source);
        }

        @Override
        public BoxLoginRequestParams[] newArray(int size) {
            return new BoxLoginRequestParams[size];
        }
    };
}
